# -*- coding: utf-8 -*-
# __author__ = 'xxx'
# env:
# fuction:

import socket

# 用python 模拟tcp数据发送
HOST = '192.168.0.231'
PORT = 8080

# 准备进行连接
tcpCliSock=socket.socket(socket.AF_INET, socket.SOCK_STREAM)
tcpCliSock.connect((HOST,PORT))


#6400
useodata=b"ok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffff"

#3260
useodata=b"ok4555555555555555555555555555555555555dsfffffffjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwsaddddddddddddddddddddddddddddddddddddddddsdfffffssffffffffffffffwrwerwrrrrrrrrrrrrrrrrsdfffffffffffffffdsfffffffffffffffffffffffffffffffffffffffffwerwwwwwwwwwwwwwsdfssssssssssssddssfffffffffffffffffffffffffok4555555555555555555555555555555555555dsffffffffffffkjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj"

#udpCliSock.sendto("this is test  ok ", ADDR)
# 发送数据 
tcpCliSock.sendall(useodata)
tcpCliSock.close()




